package Mangos::DB::Mangos::CreatureModelInfo;

use strict;

use base qw(Mangos::DB::Mangos);

__PACKAGE__->meta->setup
(
    table   => 'creature_model_info',

    columns => 
    [
        modelid              => { type => 'integer', not_null => 1 },
        bounding_radius      => { type => 'float', default => '0', not_null => 1, precision => 32 },
        combat_reach         => { type => 'float', default => '0', not_null => 1, precision => 32 },
        gender               => { type => 'integer', default => 2, not_null => 1 },
        modelid_other_gender => { type => 'integer', default => '0', not_null => 1 },
    ],

    primary_key_columns => [ 'modelid' ],
);

1;

package Mangos::DB::Mangos::CreatureModelInfo::Manager;

use strict;
use warnings;

use base 'Rose::DB::Object::Manager';

sub object_class { 'Mangos::DB::Mangos::CreatureModelInfo' }

__PACKAGE__->make_manager_methods('creature_model_info');

1;
